session_start();
$user = $_SESSION['user'];
session_destroy();
echo "<script> window.location.href='../view/login.php';</script>";